import httpRequest from '@/utils/httpRequest'
import constant from './../constant'

export function rulePage (data) {
  return httpRequest({
    url: constant.DR + '/rule/version/release/rulePage',
    method: 'post',
    data: data
  })
}
export function flowPage (data) {
  return httpRequest({
    url: constant.DR + '/rule/version/release/flowPage',
    method: 'post',
    data: data
  })
}
export function releaseRuleGroup (data) {
  return httpRequest({
    url: constant.DR + '/rule/version/release/releaseRuleGroup',
    method: 'post',
    data: data
  })
}
export function releaseFlow (data) {
  return httpRequest({
    url: constant.DR + '/rule/version/release/releaseFlow',
    method: 'post',
    data: data
  })
}
